home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / sticpsrc.lzh / SOURCE.ARC / LARGENET < prev    next >
Text File  |  1990-01-26  |  9KB  |  246 lines

  1. #
  2. #    Makefile for KA9Q TCP/IP package for PC clones with Microsoft C
  3. #
  4. # switches:
  5. #    define the ones you want in the CFLAGS definition...
  6. #
  7. #    AMIGA        - include Amiga specific code
  8. #    ATARI_ST    - include Atari ST specific code
  9. #    MSDOS        - include Messy-Dos specific code
  10. #    UNIX        - Use UNIX file format conventions
  11. #    CPM        - Use CP/M file format conventions
  12.  
  13. #
  14. # CFLAGS for typical IBM-PC installation
  15. # BE CAREFUL when changing optimization options.  There are many problems
  16. # with at least the 5.1 release of the Microsoft C compiler!
  17. #
  18. CFLAGS= -DMSC -DTHSEP='.' -AL -Gs -Zp
  19. # Assembler flags
  20. AFLAGS= -DMSC=1 -DLARGECODE=1 -DLARGEDATA=1 -Mx
  21.  
  22. .c.obj:
  23.     cl -nologo $(CFLAGS) -Ols -c $*.c
  24.  
  25. .asm.obj:
  26.     masm $(AFLAGS) $*.asm;
  27.  
  28. NETOBJS1= telnet.obj tnserv.obj smisc.obj rcmd.obj fingserv.obj fingcli.obj ftpserv.obj ftpcli.obj ftp.obj smtpserv.obj smtpcli.obj tcpcmd.obj tcpuser.obj tcptimer.obj
  29.  
  30. NETOBJS2= tcpout.obj tcpin.obj tcpsubr.obj udpcmd.obj udp.obj udpsubr.obj ipcmd.obj ip.obj iproute.obj ipsubr.obj icmpcmd.obj icmp.obj icmpsubr.obj arpcmd.obj arp.obj arpsubr.obj arptypes.obj
  31.  
  32. NETOBJS3= ax25cmd.obj ax25user.obj ax25.obj ax25subr.obj ax25serv.obj ax_mbx.obj tnc2.obj lapbtime.obj lapb.obj persist.obj slip.obj kiss.obj nr3.obj nr4.obj nr7.obj nrcmd.obj
  33.  
  34. NETOBJS4= nrsubr.obj nrs.obj iface.obj timer.obj ttydriv.obj cmdparse.obj mbuf.obj netuser.obj environ.obj misc.obj pathname.obj password.obj icmpmsg.obj buffers.obj
  35.  
  36. NETDUMP= trace.obj enetdump.obj ax25dump.obj arpdump.obj ipdump.obj icmpdump.obj udpdump.obj tcpdump.obj
  37.  
  38. PCOBJS= pc.obj dirutil.obj scc.obj eccmd.obj ec.obj ecvec.obj pktdrvr.obj pkvec.obj enet.obj pc_tnc2.obj combios.obj 8250.obj asyvec.obj sccvec.obj tnc2vec.obj comvec.obj pcgen.obj pcint.obj pcirq.obj
  39.  
  40.  
  41.  
  42. 8250.obj:    8250.c global.h asy.h 8250.h iface.h
  43.  
  44. arp.obj:    arp.c global.h mbuf.h timer.h iface.h enet.h ax25.h arp.h
  45.  
  46. arpcmd.obj:    arpcmd.c global.h mbuf.h timer.h enet.h ax25.h arp.h cmdparse.h
  47.  
  48. arpdump.obj:    arpdump.c global.h mbuf.h timer.h arp.h ax25.h
  49.  
  50. arpsubr.obj:    arpsubr.c global.h mbuf.h timer.h iface.h enet.h ax25.h arp.h
  51.  
  52. arptypes.obj:    arptypes.c global.h
  53.  
  54. asyvec.obj:    asyvec.asm pmacros.h
  55.  
  56. at.obj:        at.c global.h timer.h cmdparse.h
  57.  
  58. ax25.obj:    ax25.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h lapb.h
  59.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  60.  
  61. ax25cmd.obj:    ax25cmd.c global.h mbuf.h ax25.h timer.h iface.h lapb.h cmdparse.h session.h
  62.  
  63. ax25dump.obj:    ax25dump.c global.h mbuf.h ax25.h timer.h lapb.h ip.h trace.h
  64.  
  65. ax25serv.obj:    ax25serv.c config.h global.h mbuf.h iface.h timer.h ax25.h lapb.h cmdparse.h session.h slip.h tnc2.h
  66.  
  67. ax25subr.obj:    ax25subr.c global.h mbuf.h timer.h ax25.h lapb.h
  68.  
  69. ax25user.obj:    ax25user.c global.h mbuf.h timer.h iface.h ax25.h lapb.h
  70.  
  71. ax_mbx.obj:    ax_mbx.c global.h mbuf.h ax25.h timer.h iface.h lapb.h ax_mbx.h
  72.  
  73. buffers.obj:    buffers.c global.h mbuf.h buffers.h
  74.  
  75. cmdparse.obj:    cmdparse.c global.h cmdparse.h
  76.  
  77. combios.obj:    combios.c global.h asy.h combios.h slip.h iface.h
  78.  
  79. comvec.obj:    comvec.asm pmacros.h
  80.  
  81. dirutil.obj:    dirutil.c global.h
  82.  
  83. ec.obj:        ec.c global.h mbuf.h enet.h iface.h ec.h timer.h arp.h trace.h
  84.  
  85. eccmd.obj:    eccmd.c global.h mbuf.h iface.h ec.h
  86.  
  87. ecvec.obj:    ecvec.asm pmacros.h
  88.  
  89. enet.obj:    enet.c global.h mbuf.h iface.h timer.h arp.h enet.h
  90.  
  91. enetdump.obj:    enetdump.c global.h mbuf.h enet.h trace.h
  92.  
  93. environ.obj:    environ.c global.h environ.h
  94.     cl -nologo $(CFLAGS) -Gs -c $*.c
  95.  
  96. files.obj:    files.c global.h
  97.  
  98. fingcli.obj:    fingcli.c global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h finger.h session.h
  99.  
  100. fingserv.obj:    fingserv.c global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h finger.h session.h
  101.  
  102. ftp.obj:    ftp.c global.h mbuf.h netuser.h timer.h tcp.h ftp.h session.h
  103.  
  104. ftpcli.obj:    ftpcli.c global.h mbuf.h netuser.h icmp.h timer.h tcp.h ftp.h session.h cmdparse.h
  105.  
  106. ftpserv.obj:    ftpserv.c global.h mbuf.h netuser.h timer.h tcp.h ftp.h
  107.  
  108. icmp.obj:    icmp.c global.h mbuf.h internet.h timer.h iface.h ip.h icmp.h
  109.  
  110. icmpcmd.obj:    icmpcmd.c global.h icmp.h mbuf.h netuser.h internet.h timer.h ping.h
  111.  
  112. icmpdump.obj:    icmpdump.c global.h mbuf.h internet.h icmp.h trace.h
  113.  
  114. icmpmsg.obj:    icmpmsg.c global.h
  115.  
  116. icmpsubr.obj:    icmpsubr.c global.h mbuf.h internet.h icmp.h
  117.  
  118. iface.obj:    iface.c global.h iface.h
  119.  
  120. ip.obj:        ip.c global.h mbuf.h timer.h internet.h iface.h ip.h icmp.h
  121.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  122.  
  123. ipcmd.obj:    ipcmd.c global.h mbuf.h internet.h timer.h netuser.h iface.h ip.h cmdparse.h
  124.  
  125. ipdump.obj:    ipdump.c global.h mbuf.h internet.h timer.h iface.h ip.h trace.h netuser.h
  126.  
  127. iproute.obj:    iproute.c global.h mbuf.h internet.h timer.h netuser.h ip.h icmp.h iface.h trace.h
  128.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  129.  
  130. ipsubr.obj:    ipsubr.c global.h mbuf.h internet.h timer.h netuser.h ip.h
  131.  
  132. kiss.obj:    kiss.c global.h mbuf.h iface.h kiss.h trace.h
  133.  
  134. lapb.obj:    lapb.c global.h mbuf.h timer.h ax25.h lapb.h
  135.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  136.  
  137. lapbtime.obj:    lapbtime.c global.h mbuf.h ax25.h timer.h lapb.h
  138.  
  139. lcsum.obj:    lcsum.c global.h
  140.  
  141. main.obj:    main.c config.h global.h mbuf.h buffers.h netuser.h timer.h icmp.h iface.h ip.h tcp.h ax25.h lapb.h ftp.h telnet.h remote.h session.h cmdparse.h kiss.h slip.h tnc2.h asy.h nrs.h trace.h
  142.  
  143. mbuf.obj:    mbuf.c global.h mbuf.h
  144.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  145.  
  146. misc.obj:    misc.c global.h
  147.  
  148. netuser.obj:    netuser.c global.h netuser.h
  149.  
  150. nr3.obj:    nr3.c global.h mbuf.h iface.h trace.h timer.h arp.h slip.h ax25.h netrom.h lapb.h ip.h
  151.  
  152. nr4.obj:    nr4.c global.h mbuf.h iface.h timer.h ax25.h netrom.h
  153.  
  154. nr7.obj:    nr7.c global.h mbuf.h iface.h timer.h ax25.h lapb.h netrom.h cmdparse.h
  155.  
  156. nrcmd.obj:    nrcmd.c global.h mbuf.h ax25.h netrom.h timer.h iface.h lapb.h cmdparse.h
  157.  
  158. nrs.obj:    nrs.c global.h mbuf.h iface.h ax25.h nrs.h asy.h combios.h trace.h
  159.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  160.  
  161. nrsubr.obj:    nrsubr.c global.h mbuf.h timer.h ax25.h netrom.h lapb.h
  162.  
  163. password.obj:    password.c global.h password.h
  164.  
  165. pathname.obj:    pathname.c global.h
  166.  
  167. pc.obj:        pc.c config.h global.h mbuf.h internet.h iface.h cmdparse.h timer.h environ.h
  168.  
  169. pcgen.obj:    pcgen.asm pmacros.h
  170.  
  171. pcint.obj:    pcint.asm pmacros.h
  172.  
  173. pcirq.obj:    pcirq.c global.h
  174.  
  175. pc_tnc2.obj:    pc_tnc2.c global.h ax25.h timer.h slip.h tnc2.h
  176.  
  177. persist.obj:    persist.c global.h ax25.h iface.h persist.h timer.h
  178.  
  179. pktdrvr.obj:    pktdrvr.c global.h mbuf.h enet.h iface.h ec.h timer.h arp.h trace.h regs.h pktdrvr.h
  180.  
  181. pkvec.obj:    pkvec.asm pmacros.h
  182.  
  183. rcmd.obj:    rcmd.c global.h mbuf.h netuser.h timer.h tcp.h password.h rcmd.h cmdparse.h
  184.  
  185. scc.obj:    scc.c global.h mbuf.h buffers.h iface.h slip.h scc.h 8530.h ax25.h trace.h
  186.     cl -nologo $(CFLAGS) -Olt -c $*.c
  187.  
  188. sccvec.obj:    sccvec.asm pmacros.h
  189.  
  190. session.obj:    session.c global.h config.h mbuf.h netuser.h timer.h tcp.h ax25.h lapb.h ftp.h telnet.h finger.h session.h cmdparse.h
  191.  
  192. slip.obj:    slip.c global.h mbuf.h iface.h ax25.h slip.h asy.h combios.h trace.h
  193.     cl -nologo $(CFLAGS) -Oilt -c $*.c
  194.  
  195. smisc.obj:    smisc.c global.h mbuf.h netuser.h timer.h tcp.h remote.h
  196.  
  197. smtpcli.obj:    smtpcli.c global.h netuser.h mbuf.h timer.h tcp.h smtp.h trace.h cmdparse.h
  198.  
  199. smtpserv.obj:    smtpserv.c global.h mbuf.h netuser.h timer.h tcp.h smtp.h
  200.  
  201. tcpcmd.obj:    tcpcmd.c global.h timer.h mbuf.h netuser.h internet.h tcp.h cmdparse.h
  202.  
  203. tcpdump.obj:    tcpdump.c global.h mbuf.h netuser.h internet.h timer.h tcp.h trace.h
  204.  
  205. tcpin.obj:    tcpin.c global.h timer.h mbuf.h netuser.h internet.h tcp.h icmp.h iface.h ip.h
  206.  
  207. tcpout.obj:    tcpout.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  208.  
  209. tcpsubr.obj:    tcpsubr.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  210.  
  211. tcptimer.obj:    tcptimer.c global.h mbuf.h timer.h netuser.h internet.h tcp.h
  212.  
  213. tcpuser.obj:    tcpuser.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  214.  
  215. telnet.obj:    telnet.c global.h mbuf.h timer.h icmp.h netuser.h tcp.h telnet.h session.h
  216.  
  217. timer.obj:    timer.c global.h timer.h
  218.  
  219. tnc2.obj:    tnc2.c global.h mbuf.h iface.h timer.h ax25.h lapb.h kiss.h slip.h tnc2.h
  220.  
  221. tnc2vec.obj:    tnc2vec.asm pmacros.h
  222.  
  223. tnserv.obj:    tnserv.c global.h mbuf.h timer.h icmp.h netuser.h tcp.h telnet.h session.h
  224.  
  225. trace.obj:    trace.c global.h mbuf.h iface.h trace.h
  226.  
  227. ttydriv.obj:    tty